package com.caiya.mapper;

import com.caiya.cart.dto.order.CartOrderListDto;
import com.caiya.cart.entity.CartOrder;
import com.caiya.cart.vo.order.CartOrderListVo;
import com.caiya.cart.vo.order.CartOrderUpdateVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CartOrderMapper extends BaseMapper<CartOrder>{

    List<CartOrderListDto> list(CartOrderListVo cartOrderListVo);

    int update(CartOrderUpdateVo cartOrderUpdateVo);
}